<div id="lista_clienti">
<h1><% if params[:search] %>Risultati Ricerca<% else %>Lista clienti<% end %></h1>
<%= link_to 'Nuovo cliente', new_client_path %>
<br /><br />
<% if @clients.empty? %>
	<p>Nessun cliente</p>
<% else %>
	<%= render :partial => 'list', :object => @clients %>
<% end %>
<%= will_paginate @clients, option = {:inner_window => 2, :outer_window => 3} %>
</div>